package cn.zhouchao.block;

import cn.zhouchao.domain.User;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.web.bind.annotation.PathVariable;

public class UserBlock {

    public static User getUserBlock(@PathVariable Long id, BlockException blockException) {
        return new User(-1L, "限流了！", "我的天，真的限流了！！！");
    }

}
